<div id="header" class="grid_16">

<?php
//echo '<div id="social_icons"><ul>';
//echo '<li id="follow_us">follow us</li>';
//echo '<li>'.anchor('http://www.facebook.com','Facebook','id="fb"').'</li>';
//echo '<li>'.anchor('http://www.Twitter.com','Twitter','id="tw"').'</li>';
//echo '<li>'.anchor('http://www.Plurk.com','Plurk','id="pl"').'</li>';
//echo '</ul></div>';
?>

    <div id="nav_wrap" class="grid_16 alpha omega">

        <div id="nav">

		<?php 

        echo '<ul>';
		echo $this->links->nav_link('','Home');
		echo $this->links->nav_link('produk','Produk');
		echo $this->links->nav_link('testimonial','Testimonial');
		echo $this->links->nav_link('kontak','Kontak');

        if(!models\Current_user::get_user()){
			echo '<li id="li_login">'.anchor('login','<span>Login</span>','class=signin').'</li>';
			echo '</ul>';
			$this->load->view('header/login_form');
        } else { 
			echo '<li id="li_logout">'.anchor('login/logout','Logout').'</li>'; 
			echo "</ul>"; 
		}

		?>

        </div>

		<h1 id="logo">
			<?php echo anchor('','Smart Connect Internet Home Services') ?>
		</h1>

    </div>

	<div id="dashboard-menu" class="grid_16 alpha omega">
    	<?php $this->load->view('header/dashboard_menu');?>
	</div>

</div>

<div class="clear"></div>
